<?php
abstract class Controller_Admin_Abstract extends Controller_Action
{
	public function dispatch()
	{
		if (!Manager_User::isAdminLogged()) {
			throw new Exception('Nie posiadasz wystarczajacych praw - ' 
				. Manager_User::getLoginPrivilages(Manager_User::getLogin()));
		}
	}
}